package com.hebeu.device.service;

import com.hebeu.device.pojo.DClient;
import java.util.List;

/**
 * @author 王煜
 * @date 2019-6-17
 */
public interface DClientService {
    /**
     * 分页查询
     * @param dClient
     * @return
     */
    List<DClient> getDClients(DClient dClient);

    /**
     * supervision查询客户信息（tzz）
     * @param dClient
     * @return
     */
    List<DClient> findDClientList(DClient dClient);

    /**
     * 不分页，查所有
     * @param dClient
     * @return
     */
    List<DClient> getAll(DClient dClient);

    /**
     * 根据Id查一条数据
     * @param cId
     * @return
     */
    DClient getDClientById(int cId);

    /**
     * 添加
     * @param dClient
     * @return
     */
    int add(DClient dClient);

    /**
     * 删除
     * @param dClient
     * @return
     */
    int del(DClient dClient);

    /**
     *更新
     * @param dClient
     * @return
     */
    int update(DClient dClient);

}
